FROM ubuntu:18.04
# 镜像更新地址
RUN cp -a /etc/apt/sources.list /etc/apt/sources.list.bak
RUN sed -i "s@http://.*archive.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list
RUN sed -i "s@http://.*security.ubuntu.com@http://repo.huaweicloud.com@g" /etc/apt/sources.list
RUN apt-get update

# 系统语言设置
ENV LANG=C.UTF-8

# 系统时区
RUN apt-get install tzdata -y
RUN rm /etc/localtime && ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

#WORKDIR /data/
COPY init_linux /data/init_linux/
WORKDIR /data/init_linux/

